<?php
$this->attachHelper( 'SpScriptHelper', 'script' );
$this->helper( 'script' )->add( '/my/javascript.js' );
$this->helper( 'script' )->add( '/my/second.js' );

$this->attachHelper( 'SpScriptHelper', 'otheralias' );

foreach( $this->helper( 'otheralias' )->scripts( ) as $script ) {
	echo '<script type="text/javascript" src="' . $script . '"></script>' . "\n";
}